<?php

$db = new mysqli("localhost", "", "", "basketbal"); 
if($db->connect_errno > 0){
die('Unable to connect to database [' . $db->connect_error . ']');}
$db->set_charset("utf8");

?>